<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css"
      integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>陈集福天气预报中心</title>
</head>
<body>
<div class="container">
    <div class="row">
        <h3 th:text="${reportWeather.titile}">标题</h3>
        <p>
            <select class="custom-select" id="select-cityId">
                <option th:each="city : ${reportWeather.citylist}"
                        th:value="${city.cityId}"
                        th:text="${city.cityName}"
                        th:selected="${city.cityId eq reportWeather.cityId}"
                >城市名称列表
                </option>
            </select>
        </p>
    </div>
    <div class="row text-success"><h1 th:text="${reportWeather.weatherReponse.data.city}">城市名称</h1></div>
    <div class="row">当前温度：<p th:text="${reportWeather.weatherReponse.data.wendu}">温度</p></div>
    <div class="row">温馨提示：<p th:text="${reportWeather.weatherReponse.data.ganmao}">感冒</p></div>
    <div class="row">
        <div class="card" th:each="forecast : ${reportWeather.weatherReponse.data.forecast}">
            <div class="card-body border-info"><p th:text="${forecast.date}">日期</p>
                <p class="card-text text-info" th:text="${forecast.high}">最高温度</p>
                <p class="card-text" th:text="${forecast.low}">最低温度</p>
                <p class="card-text" th:text="${forecast.fengli}">风力</p>
                <p class="card-text" th:text="${forecast.fengxiang}">风向</p>
                <p class="card-text" th:text="${forecast.type}">天气类型</p>
            </div>
        </div>
    </div>
    <form action="/hello/login" method="post">
        <input type="text" name="username"/>
        <input type="submit" name="sumbit" value="提交">
    </form>
</div>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
        integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
        crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
        integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
        crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"
        integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
        crossorigin="anonymous"></script>
<script type="text/javascript" th:src="@{/js/weather/report.js}"></script>
</body>
</html>